using System.ComponentModel;

namespace CodeGenerator.Item;

public class CustomItem : INotifyPropertyChanged {
    private string _item;



    public string Item {
        get { return _item; }
        set {
            this._item = value;
            OnPropertyChanged("Item");
        }
    }

    public event PropertyChangedEventHandler PropertyChanged;

    void OnPropertyChanged(string name) {
        if (PropertyChanged != null)
            this.PropertyChanged(this, new PropertyChangedEventArgs(name));
    }
}